package com.site_assembly.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 入库记录表
 * </p>
 *
 * @author Lucas
 * @since 2021-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("rt_warehousing")
public class Warehousing implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "warehousing_id", type = IdType.AUTO)
    private Integer warehousingId;

    /**
     * 废品存储类型
     */
    private String wasteType;

    /**
     * 入库重量
     */
    private BigDecimal inWeight;

    /**
     * 废品重量
     */
    private BigDecimal wasteWeight;

    /**
     * 单价
     */
    private BigDecimal wastePrice;

    /**
     * 小计
     */
    private BigDecimal subtotal;

    /**
     * 损耗（差价）
     */
    private BigDecimal differenceOfPrice;

    /**
     * 忽略/骑手赔付
     */
    private String state;

    /**
     * 骑手Id
     */
    private Integer recyclerId;

    /**
     * 订单编号
     */
    private String orderSerialNumber;

    /**
     * 仓库id
     */
    private Integer storageId;

    /**
     * 入库时间
     */
    private Date warehousingTime;

    /**
     * 记录新增时间
     */
    private Date rawAddTime;

    /**
     * 记录修改时间
     */
    private Date rawUpdateTime;


}
